package com.tsp_tux.demo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.util.List;

/**
 * Created by 周志伟
 * data::title	string	文章标题
 * data::summary	string	文章摘要
 * data::mdContent	string	文章内容
 * data::editTime	datetime	创建时间
 * data::tagName	string	标签
 * mark 文章评分
 * original 0 原创 1 转载
 * video_url video  url
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleContent_List {

    private String title;
    private String md_content;

    private String summary;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp editTime;

    private String tagName;

    private List<String> tagNameList;
    private String uid;

    private Float mark;
    private Integer original;
    private String video_url;

    private Integer sid;
    private Integer atype;

    private String keyword;
    private String [] keyName;




}
